package com.kantboot.business.water.web.admin.controller;

import com.kantboot.business.water.domain.dto.BusWaterGoodsOrderSearchOfAdminDTO;
import com.kantboot.business.water.service.IBusWaterGoodsOrderService;
import com.kantboot.util.common.result.RestResult;
import com.kantboot.util.core.param.PageParam;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 提水点
 */
@RestController
@RequestMapping("/bus/water/admin/order")
public class BusWaterOrderControllerOfAdmin {

    @Resource
    private IBusWaterGoodsOrderService service;

    @RequestMapping("/getBodyData")
    public RestResult getBodyData(@RequestBody PageParam<BusWaterGoodsOrderSearchOfAdminDTO> pageParam) {
        return RestResult.success(service.getBodyData(pageParam), "getSuccess", "获取成功");
    }




}
